package com.tax.controller;

import com.tax.config.response.Response;
import com.tax.dto.req.ReportReq;
import com.tax.entity.TdReportRecord;
import com.tax.entity.TdUser;
import com.tax.service.ITdReportRecordService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/admin")
@Api(tags = "后台管理")
public class AdminController {

    @Autowired
    private ITdReportRecordService reportRecordService;

    @ApiOperation(value="财税报告列表",notes = "财税报告")
    @RequestMapping(path = "/report/list",method = RequestMethod.POST)
    public Response<List<TdReportRecord>> reportList(@RequestBody ReportReq entity){

        return null;
    }

    @ApiOperation(value="财税报告查看",notes = "财税报告")
    @RequestMapping(path = "/report/show",method = RequestMethod.POST)
    public Response<TdReportRecord> reportShow(@RequestBody ReportReq entity){

        return null;
    }

    @ApiOperation(value="财税报告删除",notes = "财税报告")
    @RequestMapping(path = "/report/del",method = RequestMethod.POST)
    public Response reportDel(@RequestBody ReportReq entity){

        return null;
    }

    @ApiOperation(value="用户列表",notes = "用户管理")
    @RequestMapping(path = "/user/list",method = RequestMethod.POST)
    public Response<List<TdUser>> userList(){

        return null;
    }

}
